package com.hualu.xmlCode.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "tvs_album_view")
public class TvsAlbumView {

    // Fields

    private String id;
    private Integer videoType;
    private String videoName;
    private String videoDes;
    private String videoDirector;
    private String videoActor;
    private String videoCoverImage;
    private String videoCategory;
    private String videoPutDate;
    private Long videoChapterCount;
    private Float videoRate;
    private Integer hotcount;
    private Integer scorenum;

    // Constructors

    /** default constructor */
    public TvsAlbumView() {
    }

    /** minimal constructor */
    public TvsAlbumView(String id, Integer videoType, String videoName, String videoDes, String videoDirector, String videoActor,
            String videoCoverImage, String videoCategory, Long videoChapterCount, Float videoRate, Integer hotcount, Integer scorenum) {
        this.id = id;
        this.videoType = videoType;
        this.videoName = videoName;
        this.videoDes = videoDes;
        this.videoDirector = videoDirector;
        this.videoActor = videoActor;
        this.videoCoverImage = videoCoverImage;
        this.videoCategory = videoCategory;
        this.videoChapterCount = videoChapterCount;
        this.videoRate = videoRate;
        this.hotcount = hotcount;
        this.scorenum = scorenum;
    }

    /** full constructor */
    public TvsAlbumView(String id, Integer videoType, String videoName, String videoDes, String videoDirector, String videoActor,
            String videoCoverImage, String videoCategory, String videoPutDate, Long videoChapterCount, Float videoRate, Integer hotcount,
            Integer scorenum) {
        this.id = id;
        this.videoType = videoType;
        this.videoName = videoName;
        this.videoDes = videoDes;
        this.videoDirector = videoDirector;
        this.videoActor = videoActor;
        this.videoCoverImage = videoCoverImage;
        this.videoCategory = videoCategory;
        this.videoPutDate = videoPutDate;
        this.videoChapterCount = videoChapterCount;
        this.videoRate = videoRate;
        this.hotcount = hotcount;
        this.scorenum = scorenum;
    }

    // Property accessors
    @Id
    @GeneratedValue(generator = "paymentableGenerator")
    @GenericGenerator(name = "paymentableGenerator", strategy = "assigned")
    @Column(name = "id", nullable = false, length = 25)
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "video_type", nullable = false)
    public Integer getVideoType() {
        return this.videoType;
    }

    public void setVideoType(Integer videoType) {
        this.videoType = videoType;
    }

    @Column(name = "video_name", nullable = false, length = 25)
    public String getVideoName() {
        return this.videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    @Column(name = "video_des", nullable = false, length = 65535)
    public String getVideoDes() {
        return this.videoDes;
    }

    public void setVideoDes(String videoDes) {
        this.videoDes = videoDes;
    }

    @Column(name = "video_director", nullable = false, length = 250)
    public String getVideoDirector() {
        return this.videoDirector;
    }

    public void setVideoDirector(String videoDirector) {
        this.videoDirector = videoDirector;
    }

    @Column(name = "video_actor", nullable = false, length = 250)
    public String getVideoActor() {
        return this.videoActor;
    }

    public void setVideoActor(String videoActor) {
        this.videoActor = videoActor;
    }

    @Column(name = "video_coverImage", nullable = false, length = 200)
    public String getVideoCoverImage() {
        return this.videoCoverImage;
    }

    public void setVideoCoverImage(String videoCoverImage) {
        this.videoCoverImage = videoCoverImage;
    }

    @Column(name = "video_category", nullable = false, length = 250)
    public String getVideoCategory() {
        return this.videoCategory;
    }

    public void setVideoCategory(String videoCategory) {
        this.videoCategory = videoCategory;
    }

    @Column(name = "video_putDate", length = 10)
    public String getVideoPutDate() {
        return this.videoPutDate;
    }

    public void setVideoPutDate(String videoPutDate) {
        this.videoPutDate = videoPutDate;
    }

    @Column(name = "video_chapterCount", nullable = false)
    public Long getVideoChapterCount() {
        return this.videoChapterCount;
    }

    public void setVideoChapterCount(Long videoChapterCount) {
        this.videoChapterCount = videoChapterCount;
    }

    @Column(name = "video_rate", nullable = false, precision = 12, scale = 0)
    public Float getVideoRate() {
        return this.videoRate;
    }

    public void setVideoRate(Float videoRate) {
        this.videoRate = videoRate;
    }

    @Column(name = "hotcount", nullable = false)
    public Integer getHotcount() {
        return this.hotcount;
    }

    public void setHotcount(Integer hotcount) {
        this.hotcount = hotcount;
    }

    @Column(name = "scorenum", nullable = false)
    public Integer getScorenum() {
        return this.scorenum;
    }

    public void setScorenum(Integer scorenum) {
        this.scorenum = scorenum;
    }

}